package com.imooc.repository;

import com.imooc.entity.User;
import org.springframework.data.repository.CrudRepository;

/**
 * Mr.Gordon
 */
public interface UserRepository extends CrudRepository<User,Long> {

    User findAllByName(String userName);

}
